package gettersSetters;

public class Laptop {

	private boolean isOld;
	private double screenSize;
	private int price;
	private String color;
	private String brand;
	
	// for the purpose of the demo, pass isOld thru constructor as it not gonna change so that can be passed
	// via constructor
	
	public Laptop(boolean isOld){	}

	// getters setters
	public boolean isOld(){
		return isOld;
	}
	
	public void setOld(boolean isOld){
		this.isOld = isOld;
	}
	

	public double getScreenSize() {
		return screenSize;
	}

	public void setScreenSize(double screenSize) {
		this.screenSize = screenSize;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}
	
}
